package com.tsystems.tuni.sportplanet.dao;

import java.util.List;

import com.tsystems.tuni.sportplanet.entity.Player;
import com.tsystems.tuni.sportplanet.entity.Season;
import com.tsystems.tuni.sportplanet.entity.Sport;
import com.tsystems.tuni.sportplanet.entity.Team;

/**
 * 
 * @author Yuriy Eremin
 * 
 */
public interface TeamDAO extends GenericDAO<Team> {

	public List<Player> getAllPlayers(Team team);

	public List<Team> getTeamsBySport(Sport sport);

	public List<Team> getAllTeamsFromCity(String city, Sport sport);

	public int getLastTeamScore(Team team);

	public int getTeamScoreFromSeason(Team team, Season season);
}
